package com.jewelry.mapper;

import com.jewelry.entity.OrderItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jewelry.entity.OrderItemDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
* @author LZL
* @description 针对表【t_order_item】的数据库操作Mapper
* @createDate 2024-03-21 20:53:04
* @Entity com.jewelry.entity.OrderItem
*/
public interface OrderItemMapper extends BaseMapper<OrderItem> {
    void insertOrderItem(@Param("map") Map map, @Param("orderId") long orderId);

    List<OrderItemDTO> selectOrderItems(Long orderId);
}




